<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="../common/init.jsp"%>
<script type="text/javascript" src="${ctx}/static/00100/javascripts/gopay/payChannel.js"></script>


<input type="hidden" id="defalutPayChannel" name="defalutPayChannel" value="${ch }"/>
<input type="hidden" id="defalutPayUserType" name="defalutPayUserType" value="${payWayBean.defalutPayUserType}"/>

<ul class="tabsUl fix" id="channelSelLi">
    <c:forEach items="${payWayBean.getPayChannelList() }" var="pcdt">
        <li class="tabsLabel <c:if test='${ch eq pcdt.payChannelType }'>cur</c:if> <shiro:authenticated>tabsLabel-l</shiro:authenticated>" id="${pcdt.payChannelLabelId}"  index="${pcdt.payChannelIndex}">${pcdt.payChannelName}</li>
    </c:forEach>
</ul>

<div class="borderBox-3 tabsContain <shiro:authenticated>border-color-4b7</shiro:authenticated>">
    <c:choose>
        <c:when test="${(payWayBean.hasPayChannel()==false)}">
            <shiro:notAuthenticated>
                没有支付权限或者没有支持的清算渠道
            </shiro:notAuthenticated>
        </c:when>
        <c:otherwise>
            <!-- 网银支付 -->
            <c:if test="${payWayBean.isSupport('01') == true }">
                <jsp:include page="bank/bankPayChannel.jsp"></jsp:include>
            </c:if>
             <!-- 国付宝在线支付 -->
            <c:if test="${payWayBean.isSupport('06') == true }">
                <c:if test="${(order.intTxnCd eq '00100')}">
                    <shiro:notAuthenticated>
                        <jsp:include page="acct/gopayLogin.jsp"></jsp:include>
                    </shiro:notAuthenticated>
                </c:if>
            </c:if>
            <%--
            <!-- 快捷支付 -->
            <c:if test="${payWayBean.isSupport('02') == true}">
                <jsp:include page="express/expressPayChannel.jsp"></jsp:include>
            </c:if> --%>
        </c:otherwise>
    </c:choose>
</div>
